<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	{assign name="__USE__" value=":[]"/}
	{block name="assign"}{/block}
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="keywords" content="{$meta_keywords|default=$Think.config.web.site_keywords}">
	<meta name="description" content="{$meta_description|default=$Think.config.web.site_description}">
	<title>{block name="meta_title"}{$meta_title|default=''}{/block}</title>
	<link rel="stylesheet" href="//at.alicdn.com/t/font_139584_ss9nvvp1bhhestt9.css"/>
	<link rel="stylesheet" href="__STATIC__/vendor/layui/css/layui.css">
	{present name="__USE__"}
	{if in_array('editor',$__USE__)}
	<link rel="stylesheet" href="__STATIC__/vendor/simditor/css/simditor.css"/>
	<link rel="stylesheet" href="__STATIC__/vendor/simditor/css/simditor-emoji.css"/>
	<link rel="stylesheet" href="__STATIC__/vendor/simditor/css/simditor-fullscreen.css"/>
	{/if}
	{block name="importCss"}{/block}
	<link rel="stylesheet" href="__CSS__/app.css" __import_css__/>
	{block name="head"}{/block}
</head>
<body class="layui-layout-body {$__web_no_aside__?'layui-layout-no-aside':''}">
<div class="layadmin-tabspage-none">

	<div class="layui-layout layui-layout-admin">

		{block name="header"}
		{include file='public/header' /}
		{/block}

		{block name="aside"}
		{include file='public/aside' /}
		{/block}

		<!-- 主体内容 -->
		{block name="body-wrapper"}
		<div class="layui-body">
			<div class="layadmin-tabsbody-item layui-show">

				<div class="layui-card layadmin-header">
					<div class="layui-breadcrumb" lay-filter="breadcrumb" style="visibility: visible;">
						<a><cite>{$page_title}</cite></a>
					</div>
				</div>

				<div class="layui-fluid">
					{block name="body"}{/block}
				</div>
			</div>
		</div>
		{/block}

		<!-- 辅助元素，一般用于移动设备下遮罩 -->
		<div class="layadmin-body-shade" layadmin-event="shade"></div>

	</div>

</div>
<script src="__STATIC__/vendor/layui/layui.all.js"></script>
<script>
layui.config({
	base: '/static/vendor/layui-modules/',
	version: '1.0.0'
}).extend({
	formSelects: 'formSelects/formSelects-v4',
	echarts: 'echarts/echarts',
	echartsTheme: 'echarts/echartsTheme',
});
window.$sys = {
	config: {
		static: "__STATIC__",
		css: "__CSS__",
		image: "__IMG__",
		js: "__JS__",
		app: "{$Request.baseFile}",
		module: "{$Request.module}",
		controller: "{$Request.controller}",
		action: "{$Request.action}",
		bindModule: "{:\\think\\facade\\Route::getBind()}",
		urlDeep: "{$Think.config.pathinfo_depr}", //PATHINFO分割符
		urlModel: ["{$Think.config.url_convert}", "{$Think.config.url_html_suffix}"]
	}
};
window.jQuery = window.$ = layui.$;
</script>
{if in_array('editor',$__USE__)}
<script src="__STATIC__/vendor/simditor/js/module.js"></script>
<script src="__STATIC__/vendor/simditor/js/hotkeys.js"></script>
<script src="__STATIC__/vendor/simditor/js/simditor.js"></script>
<script src="__STATIC__/vendor/simditor/lib/simditor-emoji.js"></script>
{/if}
{block name="importJs"}{/block}
<script src="__STATIC__/vendor.js"></script>
<script src="__STATIC__/sys.js?r={:time()}" __import_js__></script>
<script src="__JS__/app.js?r={:time()}"></script>
<script type="text/javascript">
{block name="scriptVar"}{/block}
</script>
{block name="foot"}{/block}
</html>
